<h2><?php echo __('Organizadores'); ?></h2>

<p><?php echo $this->Html->link(__('Novo Organizador'), array('action'=>'add'), array('class'=>'btn btn-primary'));?></p>

<table cellpadding="0" cellspacing="0" class="table table-bordered table-striped table-hover">
<thead>
<tr>
	<th><?php echo $this->Paginator->sort('nome'); ?></th>
	<th><?php echo $this->Paginator->sort('link'); ?></th>
	<th><?php echo $this->Paginator->sort('imagem'); ?></th>
	<th class="actions"><?php echo __('Actions'); ?></th>
</tr>
</thead>
<tbody>
<?php foreach ($organizadores as $organizadore): ?>
<tr>
	<td><?php echo h($organizadore['Organizador']['nome']); ?>&nbsp;</td>
	<td><?php echo $this->Html->link('http://'.($organizadore['Organizador']['link'])); ?>&nbsp;</td>
	<td><?php echo h($organizadore['Organizador']['imagem']); ?>&nbsp;</td>
	<td class="actions">
		<div class="btn-toolbar">
			<div class="btn-group">
				<?php echo $this->Html->link("<i class='icon-list-alt'></i>", array('action' => 'edit', $organizadore['Organizador']['id']), array('class'=>'btn', 'escape'=>false, 'title'=>__('Editar'))); ?>
				<?php echo $this->Form->postLink("<i class='icon-trash'></i>", array('action' => 'delete', $organizadore['Organizador']['id']), array('class'=>'btn', 'title'=>__('Apagar'), 'escape'=>false), __('Deseja apagar %s?', $organizadore['Organizador']['nome'])); ?>
			</div>
		</div>
	</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<p>
<?php
echo $this->Paginator->counter(array(
'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
));
?>	</p>
<div class="paging">
<?php
	echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
	echo $this->Paginator->numbers(array('separator' => ''));
	echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
?>
</div>